<div class="modal-header">
	<h4 class="modal-title">导入专业结果</h4>
</div>
<div class="modal-body container-fluid form-horizontal">
	<iframe name="iframe_0" style="position:absolute;top:-9999px">
	</iframe>
	<form name="form" novalidate method="post" enctype="multipart/form-data" target="iframe_0" action="../major/uploadMajorResult" >
		<div class="form-group">
			<label class="col-xs-2 control-label required">年份：</label>
			<div class="col-xs-4">
				<input type="number" class="form-control" value="{{item.year}}" name="year" >
			</div>
			<label class="col-xs-2 control-label required">批次：</label>
			<div class="col-xs-4">
				<input type="number" class="form-control" value="{{item.batch}}" name="batch" ng-pattern="/^[123]{1}$/" >
			</div>
		</div>

		<div class="form-group">
			<label class="col-xs-2 control-label required">excel文件：</label>
			<div class="col-xs-4 mt7">
				<input type="file" name="file" id="xmlInput" accept="application/vnd.ms-excel,application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" required>
			</div>
		</div>
	</form>
</div>
<div class="modal-footer">
	<button class="btn btn-primary" ng-click="save(form)">确定</button>
	<button class="btn btn-warning" ng-click="$dismiss()">取消</button>
</div>
